@charset "utf-8";

.web{
    background: url("../images/index/bg_index.png") no-repeat;
    width:100%;
    height: 1948px;
    position: relative;
    //首页logo
    .logo{
        position: absolute;
        right: 537px;
        top: 30px;
    }
    //右上角的背景图
    .left_g{
        position: absolute;
        right: 0;
        top: 0;
    }
    //地球的位置
    .earth{
        position: relative;
        left: 0;
        top: 0;
        width: 1001px;
        .c{
            position: absolute;
            left: 620px;
            top: 441px;
        }
        .electron{
            position: absolute;
            left: 224px;
            top: 99px;
        }
        .webgl{
            position: absolute;
            left: 219px;
            top: 262px;
        }
        .js{
            position: absolute;
            left: 417px;
            top: 194px;  
        }
        .egret{
            position: absolute;
            left: 715px;
            top: 233px;  
        }
        .what{
            position: absolute;
            left: 697px;
            top: 114px;  
        }
    }
    //文字的位置
    .index_title{
        z-index: 11;
        margin-left: 80px;
        margin-top: 265px;
        .english{
            font-size: 20px;
            color: #7f7f7f;
            line-height: 16px;
            margin-bottom: 25px; 
            font-family: "Arial";
        }
        >img{
            margin-bottom: 57px;
        }
        .english_detail{
            font-size: 16px;
            line-height: 16px;
            color: #7f7f7f;
            margin-bottom: 11px;
            font-family: "Arial";
        }
        .detail{
            font-size: 16px;
            font-family: "微软雅黑";
            color: #333333;
        }
    }
    //入口
    .entry{
        display: block;
        width: 1136px;
        margin: 0 auto;
        font-size: 0;
        position: absolute;
        top: 605px;
        left: 50%;
        transform: translateX(-50%);
        .square{
            width: 170px;
            height: 170px;
            transform: rotate(45deg);
            display: inline-block;
            margin-left: 30px;
            position: relative;
            border: 4px solid transparent;
            -webkit-transition: color 0.15s;
            transition: color 0.15s;
            &::before,&::after{
                box-sizing: border-box;
                content: '';
                position: absolute;
                border: 4px solid transparent;
                width: 0;
                height: 0;
            }
            &::before{
                top: 0;
                left: 0;
            }
            &::after{
                bottom: 0;
                right: 0;
            }

            &:hover::before,&:hover::after{
                width: 100%;
                height: 100%; 
            }
            &:hover::before{
                border-top-color: #cff1ff;
                border-right-color: #cff1ff;
                -webkit-transition: width 0.15s ease-out, height 0.15s ease-out 0.15s;
                        transition: width 0.15s ease-out, height 0.15s ease-out 0.15s;
            }
            &:hover::after{
                border-bottom-color: #cff1ff;
                border-left-color: #cff1ff;
                -webkit-transition: border-color 0s ease-out 0.3s, width 0.15s ease-out 0.3s, height 0.15s ease-out 0.45s;
                        transition: border-color 0s ease-out 0.3s, width 0.15s ease-out 0.3s, height 0.15s ease-out 0.45s;
            }
            
            &:hover{
                cursor: pointer;
                .block{
                    box-sizing: border-box;
                    background: linear-gradient(to top left,#035c82,#12AFF2); 
                    border: 4px solid #5fd0ff;
                    box-shadow: 0px 0px 20px #5FCFFF;
                    cursor: pointer;
                    >div{
                        display: block;
                        i{
                            animation-name: jiantou;
                        }
                    }
                }
            }
            .circle{
                position: absolute;
                left: 50%;
                top: -6px;
                transform: translateX(-50%);
                width: 40px;
                height: 6px;
                background: #f9f9f9;
                b{
                    display: block;
                    width: 6px;
                    height: 6px;
                    background:#cff1ff;
                    border-radius: 50%; 
                    margin-top: 3px;
                }
            }
            .block{
                width: 150px;
                height: 150px;
                position: relative;
                background: linear-gradient(to top left,#1f1e23,#4b4956);
                margin: 10px auto;
                box-sizing: border-box;
                border: 4px solid transparent;
                
                span{
                    display: inline-block;
                    line-height: 150px;
                    transform: rotate(-45deg);
                    color: #ffffff;
                    height: 150px;
                    width: 150px;
                    text-align: center;
                    font-size: 24px;
                    font-weight: bold;
                    -webkit-text-stroke: 1px #427177;
                }
                >div{
                    display: none;
                    width: 40px;
                    height: 40px;
                    background: #026b97;
                    position: absolute;
                    right: 0;
                    bottom: 0;
                    color: #62ffff;
                    text-align: center;
                    i{
                        display: inline-block;
                        font-style: normal;
                        transform: rotate(-45deg);
                        font-size: 20px;
                        line-height: 40px;
                        
                        animation-iteration-count: infinite;
                        animation-duration: .5s;
                    }
                }
                
            }
        }
        .green_circle{
            display: inline-block;
            margin-left: 40px;
            margin-right: 40px;
            vertical-align: top;
            margin-top: 83px;
            span{
                display: inline-block;
                width: 8px;
                height: 8px;
                border-radius: 50%;
                background: #cdcdcd;
                margin-left: 22px;
            }
        }
        
    }
    .footer{
        width: 1136px;
        margin: 0 auto;
        .entry_detail{
            
            div{
                width: 33.33%;
                float: left;
                text-align: left;
                margin-top: 150px;
                p{
                    width: 240px;
                    text-align: center;
                    color: #000000;
                    font-size: 16px;
                }
                p:first-child{
                    color: #7f7f7f;
                    font-size: 14px;
                    margin-bottom: 10px;
                }
            }
            .cen p{
                margin: 0 auto;
                padding-right: 20px;
            }
            .rig p{
                float: right;
                padding-right: 20px;
            }
        }

        //环境的标题
        .envirment_title{
            margin-top: 100px;
            color: #ffffff;
            font-size: 0;
            height: 20px;
            b{
                display: inline-block;
                width: 10px;
                height: 20px;
                line-height: 20px;
                background: linear-gradient(to top left,#035c82,#12AFF2); 
                // vertical-align: top;
                font-size: 0;
                transform: skewX(-25deg);
                margin-bottom: -3px;
                margin-right: 20px;
            }
            span{
                display: inline-block;
                font-size: 20px;
                text-shadow: 0px 0px 40px #62ffff;
            }
        }

        //环境部分
        .envirment{
            margin-top: 50px;
            padding: 5px;
            width: 370px;
            float: left;
            box-sizing: border-box;
            background: #ffffff;
            box-shadow: 0 0 40px #CFCACA;
            margin-right: 8px;
            transition: all .5s ease-out;
            &:hover{
                cursor: pointer;
                transform: translateY(-15px);
            }

            .photo{
                width: 360px;
            }
            .photo_detail{
                width: 100%;
                margin-top: 25px;
                padding-left: 23px;
                i.iconfont{
                    line-height: 25px;
                    font-size: 25px;
                    height: 25px;
                    color: #7f7f7f;
                }
                span{
                    line-height: 25px;
                    font-size: 14px;
                    height: 25px; 
                    color: #7f7f7f;
                    height: 25px;
                    display: inline-block;
                    vertical-align: top;
                }
                .shugang{
                    margin-right: 15px;
                    margin-left: 20px;
                }
                p{
                    margin-top: 25px;
                    margin-bottom: 34px;
                    color: #333333;
                    font-size: 14px;
                }
            }
        }

        .map{
            margin-top: 28px;
            height:370px;
            width:55%;
            #mapContainer{
                margin:0;
                height:100%;
                width:100%;
                font-size:12px;
            }
        }
        .mapRight{
            position: relative;
            margin-top: 28px;
            width: 45%;
            height: 370px;
            background:linear-gradient(to top,#1f1e23,#4b4956);
            padding-top: 10px;
            padding-left: 65px;
            box-sizing: border-box;

            &::before{
                content: "";
                display: block;
                position: absolute;
                left: -20px;
                top: 50%;
                width: 0;
                height: 0;
                transform: translateY(-50%);
                // border-left: 10px solid #fff;
                border-top: 15px solid transparent;
                border-bottom: 15px solid transparent;
                border-right: 20px solid #35333c;
            }

            .map_detail{
                margin-top: 26px;
                p{
                    font-size: 20px;
                    line-height: 22px;
                    height: 22px;
                    color: #ffffff;
                    i.iconfont{
                        color: #ffffff;
                        font-size: 20px;
                        height: 22px;
                        line-height: 22px;
                        margin-right: 10px;
                    }
                }
                >div{
                    padding-left: 38px;
                    box-sizing: border-box;
                    height: 60px;
                    line-height: 60px;
                    color: #ffffff;
                    font-size: 14px;
                    span{
                        display: inline-block;
                        border-bottom: 1px solid #64626a;
                    }
                }
            }
        }




    }
    

}



@keyframes jiantou{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}


.marker{
    width:22px;
    height:36px;
    background-image:url(http://webapi.amap.com/theme/v1.3/markers/b/mark_b.png);
    background-size: 22px 36px;
    text-align: center;
    line-height: 24px;
    color: #fff
}